package com.igeek.config;

import org.springframework.context.annotation.Bean;
import javax.sql.DataSource;

public class MyBatisConfig {
//    @Bean
//  public sqlSessionFactoryBean getSqlSessionFactoryBean(DataSource dataSource){
//        sqlSessionFactoryBean sqlSessionFactoryBean = new sqlSessionFactoryBean();
//        sqlSessionFactoryBean.setDataSource(dataSource);
//        return sqlSessionFactoryBean;

    }

